using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Packet
{
    public int MainCmd { get; set; }
    public short SubCmd { get; set; }

    public byte[] Data { get; set; }

    public Packet() { }

    public Packet(int mainCmd, short subCmd, byte[] data = null)
    {
        this.MainCmd = mainCmd;
        this.SubCmd = subCmd;
        this.Data = data;
    }
}
